package com.yunbai.yunbaigrowup.activity;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

import com.example.yunbaigrowup.R;


public class AboutUsActivity extends Activity implements OnClickListener {
	private TextView call_us;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_about_us);
		init();
	}

	private void init() {
		call_us = (TextView) findViewById(R.id.call_us);
		call_us.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.call_us :
			Intent intent = new Intent(Intent.ACTION_CALL, Uri
					.parse("tel:0755-26985945"));
			startActivity(intent);
			break;
		}
	}

	@Override
	public void onBackPressed() {
		super.onBackPressed();
		finish();
	}

}
